package com.cow.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;


/**
 * 茶叶鉴赏讨论
 */
@Data
@Entity
@Table(name = "discussions")
@NoArgsConstructor
@AllArgsConstructor
public class Discussions {
    @Id
    private Integer id;

    private Integer userId;
    private String content;

    private Timestamp createdAt;
}
